package org.lagou.bean;

public class TypeBean {
	int id;
	String name;
	int superiorid;
	int show1;
	int hot;
	String date;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getSuperiorid() {
		return superiorid;
	}

	public void setSuperiorid(int superiorid) {
		this.superiorid = superiorid;
	}

	public int getShow1() {
		return show1;
	}

	public void setShow1(int show1) {
		this.show1 = show1;
	}

	public int getHot() {
		return hot;
	}

	public void setHot(int hot) {
		this.hot = hot;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return "TypeBean [id=" + id + ", name=" + name + ", superiorid=" + superiorid + ", show1=" + show1 + ", hot="
				+ hot + ", date=" + date + "]";
	}

	public TypeBean(int id, String name, int superiorid, int show1, int hot, String date) {
		super();
		this.id = id;
		this.name = name;
		this.superiorid = superiorid;
		this.show1 = show1;
		this.hot = hot;
		this.date = date;
	}
	public TypeBean(String name, int superiorid, int show1, int hot) {
		super();
		this.name = name;
		this.superiorid = superiorid;
		this.show1 = show1;
		this.hot = hot;
	}
	public TypeBean(String name, int superiorid, int show1, int hot,int id) {
		super();
		this.name = name;
		this.superiorid = superiorid;
		this.show1 = show1;
		this.hot = hot;
		this.id=id;
	}

	public TypeBean() {
		super();
		// TODO Auto-generated constructor stub
	}

}
